﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A1B RID: 2587
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LDNGJINCBHN : IMessage<LDNGJINCBHN>, IMessage, IEquatable<LDNGJINCBHN>, IDeepCloneable<LDNGJINCBHN>, IBufferMessage
	{
		// Token: 0x170020B6 RID: 8374
		// (get) Token: 0x060073E8 RID: 29672 RVA: 0x0013606D File Offset: 0x0013426D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LDNGJINCBHN> Parser
		{
			get
			{
				return LDNGJINCBHN._parser;
			}
		}

		// Token: 0x170020B7 RID: 8375
		// (get) Token: 0x060073E9 RID: 29673 RVA: 0x00136074 File Offset: 0x00134274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LDNGJINCBHNReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170020B8 RID: 8376
		// (get) Token: 0x060073EA RID: 29674 RVA: 0x00136086 File Offset: 0x00134286
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LDNGJINCBHN.Descriptor;
			}
		}

		// Token: 0x060073EB RID: 29675 RVA: 0x0013608D File Offset: 0x0013428D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LDNGJINCBHN()
		{
		}

		// Token: 0x060073EC RID: 29676 RVA: 0x001360AB File Offset: 0x001342AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LDNGJINCBHN(LDNGJINCBHN other) : this()
		{
			this.avatarList_ = other.avatarList_.Clone();
			this.buffList_ = other.buffList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060073ED RID: 29677 RVA: 0x001360E6 File Offset: 0x001342E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LDNGJINCBHN Clone()
		{
			return new LDNGJINCBHN(this);
		}

		// Token: 0x170020B9 RID: 8377
		// (get) Token: 0x060073EE RID: 29678 RVA: 0x001360EE File Offset: 0x001342EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FFMHCHHHGBA> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x170020BA RID: 8378
		// (get) Token: 0x060073EF RID: 29679 RVA: 0x001360F6 File Offset: 0x001342F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BuffList
		{
			get
			{
				return this.buffList_;
			}
		}

		// Token: 0x060073F0 RID: 29680 RVA: 0x001360FE File Offset: 0x001342FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LDNGJINCBHN);
		}

		// Token: 0x060073F1 RID: 29681 RVA: 0x0013610C File Offset: 0x0013430C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LDNGJINCBHN other)
		{
			return other != null && (other == this || (this.avatarList_.Equals(other.avatarList_) && this.buffList_.Equals(other.buffList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060073F2 RID: 29682 RVA: 0x00136160 File Offset: 0x00134360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarList_.GetHashCode();
			num ^= this.buffList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060073F3 RID: 29683 RVA: 0x001361A2 File Offset: 0x001343A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060073F4 RID: 29684 RVA: 0x001361AA File Offset: 0x001343AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060073F5 RID: 29685 RVA: 0x001361B3 File Offset: 0x001343B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.buffList_.WriteTo(ref output, LDNGJINCBHN._repeated_buffList_codec);
			this.avatarList_.WriteTo(ref output, LDNGJINCBHN._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060073F6 RID: 29686 RVA: 0x001361EC File Offset: 0x001343EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarList_.CalculateSize(LDNGJINCBHN._repeated_avatarList_codec);
			num += this.buffList_.CalculateSize(LDNGJINCBHN._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060073F7 RID: 29687 RVA: 0x00136238 File Offset: 0x00134438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LDNGJINCBHN other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarList_.Add(other.avatarList_);
			this.buffList_.Add(other.buffList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060073F8 RID: 29688 RVA: 0x00136277 File Offset: 0x00134477
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060073F9 RID: 29689 RVA: 0x00136280 File Offset: 0x00134480
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U && num != 34U)
				{
					if (num != 98U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.avatarList_.AddEntriesFrom(ref input, LDNGJINCBHN._repeated_avatarList_codec);
					}
				}
				else
				{
					this.buffList_.AddEntriesFrom(ref input, LDNGJINCBHN._repeated_buffList_codec);
				}
			}
		}

		// Token: 0x04002C50 RID: 11344
		private static readonly MessageParser<LDNGJINCBHN> _parser = new MessageParser<LDNGJINCBHN>(() => new LDNGJINCBHN());

		// Token: 0x04002C51 RID: 11345
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002C52 RID: 11346
		public const int AvatarListFieldNumber = 12;

		// Token: 0x04002C53 RID: 11347
		private static readonly FieldCodec<FFMHCHHHGBA> _repeated_avatarList_codec = FieldCodec.ForMessage<FFMHCHHHGBA>(98U, FFMHCHHHGBA.Parser);

		// Token: 0x04002C54 RID: 11348
		private readonly RepeatedField<FFMHCHHHGBA> avatarList_ = new RepeatedField<FFMHCHHHGBA>();

		// Token: 0x04002C55 RID: 11349
		public const int BuffListFieldNumber = 4;

		// Token: 0x04002C56 RID: 11350
		private static readonly FieldCodec<uint> _repeated_buffList_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x04002C57 RID: 11351
		private readonly RepeatedField<uint> buffList_ = new RepeatedField<uint>();
	}
}
